<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.3.1"/>
<title>P2 Project - GanttMaker: SW2A311_Lib.ProjectCollection Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="client.ico"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">P2 Project - GanttMaker
   &#160;<span id="projectnumber">1.1.0.0</span>
   </div>
   <div id="projectbrief">By student group SW2A311, Aalborg University</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.3.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Packages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_s_w2_a311___lib_1_1_project_collection.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Properties</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Events</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#properties">Properties</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="#pri-static-attribs">Static Private Attributes</a> &#124;
<a href="class_s_w2_a311___lib_1_1_project_collection-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">SW2A311_Lib.ProjectCollection Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Laves til en singleton, så vi altid kun har én database.  
 <a href="class_s_w2_a311___lib_1_1_project_collection.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for SW2A311_Lib.ProjectCollection:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_s_w2_a311___lib_1_1_project_collection.png" usemap="#SW2A311_Lib.ProjectCollection_map" alt=""/>
  <map id="SW2A311_Lib.ProjectCollection_map" name="SW2A311_Lib.ProjectCollection_map">
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a0677c65be53503572ba4a16f0195b7ca"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_w2_a311___lib_1_1_project_collection.html#a0677c65be53503572ba4a16f0195b7ca">Add</a> (string projectName, string adminName)</td></tr>
<tr class="memdesc:a0677c65be53503572ba4a16f0195b7ca"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add Project metode med minimalt input.  <a href="#a0677c65be53503572ba4a16f0195b7ca">More...</a><br/></td></tr>
<tr class="separator:a0677c65be53503572ba4a16f0195b7ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae1f163afd567cd4f81dd40f4a96ecb0c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_w2_a311___lib_1_1_project_collection.html#ae1f163afd567cd4f81dd40f4a96ecb0c">Add</a> (string projectName, DateTime projectStart, DateTime projectEnd, string adminName)</td></tr>
<tr class="memdesc:ae1f163afd567cd4f81dd40f4a96ecb0c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add Project metode, med standard input.  <a href="#ae1f163afd567cd4f81dd40f4a96ecb0c">More...</a><br/></td></tr>
<tr class="separator:ae1f163afd567cd4f81dd40f4a96ecb0c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa2c2b0f22b1f245e47d3bdb46afb0d61"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_w2_a311___lib_1_1_project_collection.html#aa2c2b0f22b1f245e47d3bdb46afb0d61">Add</a> (<a class="el" href="class_s_w2_a311___lib_1_1_project_data.html">ProjectData</a> projectData)</td></tr>
<tr class="memdesc:aa2c2b0f22b1f245e47d3bdb46afb0d61"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add Project metode der tager et <a class="el" href="class_s_w2_a311___lib_1_1_project_data.html" title="Projekt-strukturen, der laver projekt elementer. ">ProjectData</a> object som input.  <a href="#aa2c2b0f22b1f245e47d3bdb46afb0d61">More...</a><br/></td></tr>
<tr class="separator:aa2c2b0f22b1f245e47d3bdb46afb0d61"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0742a2cd78d1a75a24e117ea355bc7f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_w2_a311___lib_1_1_project_collection.html#ac0742a2cd78d1a75a24e117ea355bc7f">Remove</a> (string projectName)</td></tr>
<tr class="memdesc:ac0742a2cd78d1a75a24e117ea355bc7f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fjerner project hvis det eksisterer og RemoveAll returnerer antal elementer fjernet.  <a href="#ac0742a2cd78d1a75a24e117ea355bc7f">More...</a><br/></td></tr>
<tr class="separator:ac0742a2cd78d1a75a24e117ea355bc7f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e9c9d62636550a34c44f4b1b9c73420"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_w2_a311___lib_1_1_project_collection.html#a2e9c9d62636550a34c44f4b1b9c73420">AddTaskToProject</a> (<a class="el" href="class_s_w2_a311___lib_1_1_project_data.html">ProjectData</a> project, <a class="el" href="class_s_w2_a311___lib_1_1_task.html">Task</a> task)</td></tr>
<tr class="memdesc:a2e9c9d62636550a34c44f4b1b9c73420"><td class="mdescLeft">&#160;</td><td class="mdescRight">Finder projektet i databasen og tilføjer <a class="el" href="class_s_w2_a311___lib_1_1_task.html" title="Task-strukturen, der laver opgave elementer til de enkelte projekter. ">Task</a> til det.  <a href="#a2e9c9d62636550a34c44f4b1b9c73420">More...</a><br/></td></tr>
<tr class="separator:a2e9c9d62636550a34c44f4b1b9c73420"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af0c107c4af77e6b23a673806203c6020"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_w2_a311___lib_1_1_project_collection.html#af0c107c4af77e6b23a673806203c6020">RemoveTaskFromProject</a> (string projectName, <a class="el" href="class_s_w2_a311___lib_1_1_task.html">Task</a> task)</td></tr>
<tr class="memdesc:af0c107c4af77e6b23a673806203c6020"><td class="mdescLeft">&#160;</td><td class="mdescRight">Finder projektet i databasen og fjerner <a class="el" href="class_s_w2_a311___lib_1_1_task.html" title="Task-strukturen, der laver opgave elementer til de enkelte projekter. ">Task</a> fra det.  <a href="#af0c107c4af77e6b23a673806203c6020">More...</a><br/></td></tr>
<tr class="separator:af0c107c4af77e6b23a673806203c6020"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e569adeb53d43bb9cf2ce92fb017e66"><td class="memItemLeft" align="right" valign="top">ObservableCollection&lt; <a class="el" href="class_s_w2_a311___lib_1_1_task.html">Task</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_w2_a311___lib_1_1_project_collection.html#a1e569adeb53d43bb9cf2ce92fb017e66">GetObservableTaskList</a> (<a class="el" href="class_s_w2_a311___lib_1_1_project_data.html">ProjectData</a> project)</td></tr>
<tr class="memdesc:a1e569adeb53d43bb9cf2ce92fb017e66"><td class="mdescLeft">&#160;</td><td class="mdescRight">Laver en ObservableCollection med indholdet fra TaskList og returnerer den.  <a href="#a1e569adeb53d43bb9cf2ce92fb017e66">More...</a><br/></td></tr>
<tr class="separator:a1e569adeb53d43bb9cf2ce92fb017e66"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69e487c230d9420e2fb7e26e5d29cd85"><td class="memItemLeft" align="right" valign="top">ObservableCollection&lt; <a class="el" href="class_s_w2_a311___lib_1_1_project_data.html">ProjectData</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_w2_a311___lib_1_1_project_collection.html#a69e487c230d9420e2fb7e26e5d29cd85">GetObservableProjects</a> ()</td></tr>
<tr class="memdesc:a69e487c230d9420e2fb7e26e5d29cd85"><td class="mdescLeft">&#160;</td><td class="mdescRight">Laver en ObservableCollection med indholdet fra _database og returnerer den.  <a href="#a69e487c230d9420e2fb7e26e5d29cd85">More...</a><br/></td></tr>
<tr class="separator:a69e487c230d9420e2fb7e26e5d29cd85"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0649c5324c9b1f158c8ddafe14f27e03"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_w2_a311___lib_1_1_project_collection.html#a0649c5324c9b1f158c8ddafe14f27e03">WriteDatabaseToFile</a> (string filename, <a class="el" href="class_s_w2_a311___lib_1_1_project_data.html">ProjectData</a> project)</td></tr>
<tr class="memdesc:a0649c5324c9b1f158c8ddafe14f27e03"><td class="mdescLeft">&#160;</td><td class="mdescRight">Skriver backup af _database til en fil.  <a href="#a0649c5324c9b1f158c8ddafe14f27e03">More...</a><br/></td></tr>
<tr class="separator:a0649c5324c9b1f158c8ddafe14f27e03"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6c0106916ee2df101944d3c646e5a081"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_w2_a311___lib_1_1_project_collection.html#a6c0106916ee2df101944d3c646e5a081">ReadDatabaseFromFile</a> ()</td></tr>
<tr class="memdesc:a6c0106916ee2df101944d3c646e5a081"><td class="mdescLeft">&#160;</td><td class="mdescRight">Indlæser fil med backup og tilføjer det til _database.  <a href="#a6c0106916ee2df101944d3c646e5a081">More...</a><br/></td></tr>
<tr class="separator:a6c0106916ee2df101944d3c646e5a081"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94d59b4aed15d2e3ac4497a303458a3e"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_w2_a311___lib_1_1_project_collection.html#a94d59b4aed15d2e3ac4497a303458a3e">GetNumberOfElements</a> ()</td></tr>
<tr class="memdesc:a94d59b4aed15d2e3ac4497a303458a3e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Count kaldes på _database og antallet af projekter returneres.  <a href="#a94d59b4aed15d2e3ac4497a303458a3e">More...</a><br/></td></tr>
<tr class="separator:a94d59b4aed15d2e3ac4497a303458a3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a15ba21ecb4f07eb8ace375610e0d2a60"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_w2_a311___lib_1_1_project_collection.html#a15ba21ecb4f07eb8ace375610e0d2a60">IndexOf</a> (<a class="el" href="class_s_w2_a311___lib_1_1_project_data.html">ProjectData</a> project)</td></tr>
<tr class="memdesc:a15ba21ecb4f07eb8ace375610e0d2a60"><td class="mdescLeft">&#160;</td><td class="mdescRight">Finder index til specifikt project og returnerer det.  <a href="#a15ba21ecb4f07eb8ace375610e0d2a60">More...</a><br/></td></tr>
<tr class="separator:a15ba21ecb4f07eb8ace375610e0d2a60"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a426cc5d125e76a34a12922fb4d4dc54a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_w2_a311___lib_1_1_project_collection.html#a426cc5d125e76a34a12922fb4d4dc54a">TryItemAtIndex</a> (int i, out <a class="el" href="class_s_w2_a311___lib_1_1_project_data.html">ProjectData</a> pd)</td></tr>
<tr class="memdesc:a426cc5d125e76a34a12922fb4d4dc54a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Finder projektet med en bestemt index i _database og returnerer det. Med bool check om projektet blev fundet.  <a href="#a426cc5d125e76a34a12922fb4d4dc54a">More...</a><br/></td></tr>
<tr class="separator:a426cc5d125e76a34a12922fb4d4dc54a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a080aee3919fb171cd65c4951ebd84999"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_w2_a311___lib_1_1_project_data.html">ProjectData</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_w2_a311___lib_1_1_project_collection.html#a080aee3919fb171cd65c4951ebd84999">FindProjectByName</a> (string projectName)</td></tr>
<tr class="memdesc:a080aee3919fb171cd65c4951ebd84999"><td class="mdescLeft">&#160;</td><td class="mdescRight">Finder project'et og returnerer det.  <a href="#a080aee3919fb171cd65c4951ebd84999">More...</a><br/></td></tr>
<tr class="separator:a080aee3919fb171cd65c4951ebd84999"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a97efce66ebf16ea7ba616510242f0909"><td class="memItemLeft" align="right" valign="top">List&lt; <a class="el" href="class_s_w2_a311___lib_1_1_project_data.html">ProjectData</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_w2_a311___lib_1_1_project_collection.html#a97efce66ebf16ea7ba616510242f0909">GetActiveProjects</a> ()</td></tr>
<tr class="memdesc:a97efce66ebf16ea7ba616510242f0909"><td class="mdescLeft">&#160;</td><td class="mdescRight">Finder alle projekter der er aktive til dags dato.  <a href="#a97efce66ebf16ea7ba616510242f0909">More...</a><br/></td></tr>
<tr class="separator:a97efce66ebf16ea7ba616510242f0909"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac78b41ace5c29f5060c10c9b85d51a77"><td class="memItemLeft" align="right" valign="top">IEnumerator&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_w2_a311___lib_1_1_project_collection.html#ac78b41ace5c29f5060c10c9b85d51a77">GetEnumerator</a> ()</td></tr>
<tr class="memdesc:ac78b41ace5c29f5060c10c9b85d51a77"><td class="mdescLeft">&#160;</td><td class="mdescRight">En GetEnumerator så foreach og andre metoder kan få adgang til vores private _database liste.  <a href="#ac78b41ace5c29f5060c10c9b85d51a77">More...</a><br/></td></tr>
<tr class="separator:ac78b41ace5c29f5060c10c9b85d51a77"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad11ea87d861b459120e133610ca2c733"><td class="memItemLeft" align="right" valign="top">IEnumerable&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_w2_a311___lib_1_1_project_collection.html#ad11ea87d861b459120e133610ca2c733">GetEnumeratorSorting</a> ()</td></tr>
<tr class="memdesc:ad11ea87d861b459120e133610ca2c733"><td class="mdescLeft">&#160;</td><td class="mdescRight">Collection metode med sortering, der returnerer 1 objekt og husker hvor den er kommet til.  <a href="#ad11ea87d861b459120e133610ca2c733">More...</a><br/></td></tr>
<tr class="separator:ad11ea87d861b459120e133610ca2c733"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b786cb02620422364d734c62cced30e"><td class="memItemLeft" align="right" valign="top">override string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_w2_a311___lib_1_1_project_collection.html#a5b786cb02620422364d734c62cced30e">ToString</a> ()</td></tr>
<tr class="memdesc:a5b786cb02620422364d734c62cced30e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Override af ToString metoden.  <a href="#a5b786cb02620422364d734c62cced30e">More...</a><br/></td></tr>
<tr class="separator:a5b786cb02620422364d734c62cced30e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="properties"></a>
Properties</h2></td></tr>
<tr class="memitem:a604414fab5a94d016c2fa388ecb79d56"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_w2_a311___lib_1_1_project_collection.html#a604414fab5a94d016c2fa388ecb79d56">Count</a><code> [get, set]</code></td></tr>
<tr class="separator:a604414fab5a94d016c2fa388ecb79d56"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a18f7cdac958922dda5bcbf80351285e5"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_s_w2_a311___lib_1_1_project_collection.html">ProjectCollection</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_w2_a311___lib_1_1_project_collection.html#a18f7cdac958922dda5bcbf80351285e5">Instance</a><code> [get]</code></td></tr>
<tr class="separator:a18f7cdac958922dda5bcbf80351285e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:a1ed31fd914301459a642f4da8d9d1109"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_w2_a311___lib_1_1_project_collection.html#a1ed31fd914301459a642f4da8d9d1109">ProjectCollection</a> ()</td></tr>
<tr class="memdesc:a1ed31fd914301459a642f4da8d9d1109"><td class="mdescLeft">&#160;</td><td class="mdescRight">Privat constructor, så man ikke kommer til at lave flere instancer af <a class="el" href="class_s_w2_a311___lib_1_1_project_collection.html" title="Laves til en singleton, så vi altid kun har én database. ">ProjectCollection</a>.  <a href="#a1ed31fd914301459a642f4da8d9d1109">More...</a><br/></td></tr>
<tr class="separator:a1ed31fd914301459a642f4da8d9d1109"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a486403ebfe3cf4a9e383c87bf830b03a"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_w2_a311___lib_1_1_project_collection.html#a486403ebfe3cf4a9e383c87bf830b03a">FilePath</a> = AppDomain.CurrentDomain.BaseDirectory + &quot;\\projects\\&quot;</td></tr>
<tr class="separator:a486403ebfe3cf4a9e383c87bf830b03a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c754a374928fbd5afd8e4acb5eadc09"><td class="memItemLeft" align="right" valign="top">List&lt; <a class="el" href="class_s_w2_a311___lib_1_1_project_data.html">ProjectData</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_w2_a311___lib_1_1_project_collection.html#a0c754a374928fbd5afd8e4acb5eadc09">_database</a></td></tr>
<tr class="separator:a0c754a374928fbd5afd8e4acb5eadc09"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-static-attribs"></a>
Static Private Attributes</h2></td></tr>
<tr class="memitem:aff1a9dd4989b2908737e0ec37f2ea383"><td class="memItemLeft" align="right" valign="top">static readonly <a class="el" href="class_s_w2_a311___lib_1_1_project_collection.html">ProjectCollection</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_w2_a311___lib_1_1_project_collection.html#aff1a9dd4989b2908737e0ec37f2ea383">_instance</a> = new <a class="el" href="class_s_w2_a311___lib_1_1_project_collection.html">ProjectCollection</a>()</td></tr>
<tr class="separator:aff1a9dd4989b2908737e0ec37f2ea383"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Laves til en singleton, så vi altid kun har én database. </p>

<p>Definition at line <a class="el" href="_project_collection_8cs_source.html#l00013">13</a> of file <a class="el" href="_project_collection_8cs_source.html">ProjectCollection.cs</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a1ed31fd914301459a642f4da8d9d1109"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">SW2A311_Lib.ProjectCollection.ProjectCollection </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Privat constructor, så man ikke kommer til at lave flere instancer af <a class="el" href="class_s_w2_a311___lib_1_1_project_collection.html" title="Laves til en singleton, så vi altid kun har én database. ">ProjectCollection</a>. </p>

<p>Definition at line <a class="el" href="_project_collection_8cs_source.html#l00026">26</a> of file <a class="el" href="_project_collection_8cs_source.html">ProjectCollection.cs</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a0677c65be53503572ba4a16f0195b7ca"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SW2A311_Lib.ProjectCollection.Add </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>projectName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>adminName</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Add Project metode med minimalt input. </p>
<p>Har check om project allerede eksisterer og om det har et korrekt navn. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">projectName</td><td></td></tr>
    <tr><td class="paramname">adminName</td><td></td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_project_collection_8cs_source.html#l00043">43</a> of file <a class="el" href="_project_collection_8cs_source.html">ProjectCollection.cs</a>.</p>

</div>
</div>
<a class="anchor" id="ae1f163afd567cd4f81dd40f4a96ecb0c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SW2A311_Lib.ProjectCollection.Add </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>projectName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">DateTime&#160;</td>
          <td class="paramname"><em>projectStart</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">DateTime&#160;</td>
          <td class="paramname"><em>projectEnd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>adminName</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Add Project metode, med standard input. </p>
<p>Har check om project allerede eksisterer og om det har et korrekt navn. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">projectName</td><td></td></tr>
    <tr><td class="paramname">projectStart</td><td></td></tr>
    <tr><td class="paramname">projectEnd</td><td></td></tr>
    <tr><td class="paramname">adminName</td><td></td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_project_collection_8cs_source.html#l00065">65</a> of file <a class="el" href="_project_collection_8cs_source.html">ProjectCollection.cs</a>.</p>

</div>
</div>
<a class="anchor" id="aa2c2b0f22b1f245e47d3bdb46afb0d61"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SW2A311_Lib.ProjectCollection.Add </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_s_w2_a311___lib_1_1_project_data.html">ProjectData</a>&#160;</td>
          <td class="paramname"><em>projectData</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Add Project metode der tager et <a class="el" href="class_s_w2_a311___lib_1_1_project_data.html" title="Projekt-strukturen, der laver projekt elementer. ">ProjectData</a> object som input. </p>
<p>Har check om project har et korrekt navn og om det allerede eksisterer. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">projectData</td><td></td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_project_collection_8cs_source.html#l00084">84</a> of file <a class="el" href="_project_collection_8cs_source.html">ProjectCollection.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a2e9c9d62636550a34c44f4b1b9c73420"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SW2A311_Lib.ProjectCollection.AddTaskToProject </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_s_w2_a311___lib_1_1_project_data.html">ProjectData</a>&#160;</td>
          <td class="paramname"><em>project</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_s_w2_a311___lib_1_1_task.html">Task</a>&#160;</td>
          <td class="paramname"><em>task</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Finder projektet i databasen og tilføjer <a class="el" href="class_s_w2_a311___lib_1_1_task.html" title="Task-strukturen, der laver opgave elementer til de enkelte projekter. ">Task</a> til det. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">project</td><td></td></tr>
    <tr><td class="paramname">task</td><td></td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_project_collection_8cs_source.html#l00125">125</a> of file <a class="el" href="_project_collection_8cs_source.html">ProjectCollection.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a080aee3919fb171cd65c4951ebd84999"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_w2_a311___lib_1_1_project_data.html">ProjectData</a> SW2A311_Lib.ProjectCollection.FindProjectByName </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>projectName</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Finder project'et og returnerer det. </p>
<p>Med check om det har et korrekt navn og om det eksisterer. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">projectName</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>

<p>Definition at line <a class="el" href="_project_collection_8cs_source.html#l00250">250</a> of file <a class="el" href="_project_collection_8cs_source.html">ProjectCollection.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a97efce66ebf16ea7ba616510242f0909"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">List&lt;<a class="el" href="class_s_w2_a311___lib_1_1_project_data.html">ProjectData</a>&gt; SW2A311_Lib.ProjectCollection.GetActiveProjects </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Finder alle projekter der er aktive til dags dato. </p>
<p>Er ikke blevet implementeret endnu. </p>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>

<p>Definition at line <a class="el" href="_project_collection_8cs_source.html#l00279">279</a> of file <a class="el" href="_project_collection_8cs_source.html">ProjectCollection.cs</a>.</p>

</div>
</div>
<a class="anchor" id="ac78b41ace5c29f5060c10c9b85d51a77"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">IEnumerator SW2A311_Lib.ProjectCollection.GetEnumerator </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>En GetEnumerator så foreach og andre metoder kan få adgang til vores private _database liste. </p>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>

<p>Definition at line <a class="el" href="_project_collection_8cs_source.html#l00296">296</a> of file <a class="el" href="_project_collection_8cs_source.html">ProjectCollection.cs</a>.</p>

</div>
</div>
<a class="anchor" id="ad11ea87d861b459120e133610ca2c733"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">IEnumerable SW2A311_Lib.ProjectCollection.GetEnumeratorSorting </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Collection metode med sortering, der returnerer 1 objekt og husker hvor den er kommet til. </p>
<p>Er ikke implementeret endnu. </p>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>

<p>Definition at line <a class="el" href="_project_collection_8cs_source.html#l00307">307</a> of file <a class="el" href="_project_collection_8cs_source.html">ProjectCollection.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a94d59b4aed15d2e3ac4497a303458a3e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int SW2A311_Lib.ProjectCollection.GetNumberOfElements </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Count kaldes på _database og antallet af projekter returneres. </p>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>

<p>Definition at line <a class="el" href="_project_collection_8cs_source.html#l00200">200</a> of file <a class="el" href="_project_collection_8cs_source.html">ProjectCollection.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a69e487c230d9420e2fb7e26e5d29cd85"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ObservableCollection&lt;<a class="el" href="class_s_w2_a311___lib_1_1_project_data.html">ProjectData</a>&gt; SW2A311_Lib.ProjectCollection.GetObservableProjects </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Laver en ObservableCollection med indholdet fra _database og returnerer den. </p>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>

<p>Definition at line <a class="el" href="_project_collection_8cs_source.html#l00155">155</a> of file <a class="el" href="_project_collection_8cs_source.html">ProjectCollection.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a1e569adeb53d43bb9cf2ce92fb017e66"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ObservableCollection&lt;<a class="el" href="class_s_w2_a311___lib_1_1_task.html">Task</a>&gt; SW2A311_Lib.ProjectCollection.GetObservableTaskList </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_s_w2_a311___lib_1_1_project_data.html">ProjectData</a>&#160;</td>
          <td class="paramname"><em>project</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Laver en ObservableCollection med indholdet fra TaskList og returnerer den. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">project</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>

<p>Definition at line <a class="el" href="_project_collection_8cs_source.html#l00147">147</a> of file <a class="el" href="_project_collection_8cs_source.html">ProjectCollection.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a15ba21ecb4f07eb8ace375610e0d2a60"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int SW2A311_Lib.ProjectCollection.IndexOf </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_s_w2_a311___lib_1_1_project_data.html">ProjectData</a>&#160;</td>
          <td class="paramname"><em>project</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Finder index til specifikt project og returnerer det. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">project</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>

<p>Definition at line <a class="el" href="_project_collection_8cs_source.html#l00209">209</a> of file <a class="el" href="_project_collection_8cs_source.html">ProjectCollection.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a6c0106916ee2df101944d3c646e5a081"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SW2A311_Lib.ProjectCollection.ReadDatabaseFromFile </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Indlæser fil med backup og tilføjer det til _database. </p>
<p>Hvis filen ikke findes, indlæses intet. </p>

<p>Definition at line <a class="el" href="_project_collection_8cs_source.html#l00180">180</a> of file <a class="el" href="_project_collection_8cs_source.html">ProjectCollection.cs</a>.</p>

</div>
</div>
<a class="anchor" id="ac0742a2cd78d1a75a24e117ea355bc7f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SW2A311_Lib.ProjectCollection.Remove </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>projectName</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Fjerner project hvis det eksisterer og RemoveAll returnerer antal elementer fjernet. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">projectName</td><td></td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_project_collection_8cs_source.html#l00113">113</a> of file <a class="el" href="_project_collection_8cs_source.html">ProjectCollection.cs</a>.</p>

</div>
</div>
<a class="anchor" id="af0c107c4af77e6b23a673806203c6020"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SW2A311_Lib.ProjectCollection.RemoveTaskFromProject </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>projectName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_s_w2_a311___lib_1_1_task.html">Task</a>&#160;</td>
          <td class="paramname"><em>task</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Finder projektet i databasen og fjerner <a class="el" href="class_s_w2_a311___lib_1_1_task.html" title="Task-strukturen, der laver opgave elementer til de enkelte projekter. ">Task</a> fra det. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">projectName</td><td></td></tr>
    <tr><td class="paramname">task</td><td></td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_project_collection_8cs_source.html#l00138">138</a> of file <a class="el" href="_project_collection_8cs_source.html">ProjectCollection.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a5b786cb02620422364d734c62cced30e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">override string SW2A311_Lib.ProjectCollection.ToString </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Override af ToString metoden. </p>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>

<p>Definition at line <a class="el" href="_project_collection_8cs_source.html#l00319">319</a> of file <a class="el" href="_project_collection_8cs_source.html">ProjectCollection.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a426cc5d125e76a34a12922fb4d4dc54a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool SW2A311_Lib.ProjectCollection.TryItemAtIndex </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>i</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">out <a class="el" href="class_s_w2_a311___lib_1_1_project_data.html">ProjectData</a>&#160;</td>
          <td class="paramname"><em>pd</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Finder projektet med en bestemt index i _database og returnerer det. Med bool check om projektet blev fundet. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">i</td><td></td></tr>
    <tr><td class="paramname">pd</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>

<p>Definition at line <a class="el" href="_project_collection_8cs_source.html#l00229">229</a> of file <a class="el" href="_project_collection_8cs_source.html">ProjectCollection.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a0649c5324c9b1f158c8ddafe14f27e03"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SW2A311_Lib.ProjectCollection.WriteDatabaseToFile </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>filename</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_s_w2_a311___lib_1_1_project_data.html">ProjectData</a>&#160;</td>
          <td class="paramname"><em>project</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Skriver backup af _database til en fil. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">filename</td><td></td></tr>
    <tr><td class="paramname">project</td><td></td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_project_collection_8cs_source.html#l00164">164</a> of file <a class="el" href="_project_collection_8cs_source.html">ProjectCollection.cs</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a0c754a374928fbd5afd8e4acb5eadc09"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">List&lt;<a class="el" href="class_s_w2_a311___lib_1_1_project_data.html">ProjectData</a>&gt; SW2A311_Lib.ProjectCollection._database</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_project_collection_8cs_source.html#l00017">17</a> of file <a class="el" href="_project_collection_8cs_source.html">ProjectCollection.cs</a>.</p>

</div>
</div>
<a class="anchor" id="aff1a9dd4989b2908737e0ec37f2ea383"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">readonly <a class="el" href="class_s_w2_a311___lib_1_1_project_collection.html">ProjectCollection</a> SW2A311_Lib.ProjectCollection._instance = new <a class="el" href="class_s_w2_a311___lib_1_1_project_collection.html">ProjectCollection</a>()</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_project_collection_8cs_source.html#l00015">15</a> of file <a class="el" href="_project_collection_8cs_source.html">ProjectCollection.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a486403ebfe3cf4a9e383c87bf830b03a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">string SW2A311_Lib.ProjectCollection.FilePath = AppDomain.CurrentDomain.BaseDirectory + &quot;\\projects\\&quot;</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_project_collection_8cs_source.html#l00016">16</a> of file <a class="el" href="_project_collection_8cs_source.html">ProjectCollection.cs</a>.</p>

</div>
</div>
<h2 class="groupheader">Property Documentation</h2>
<a class="anchor" id="a604414fab5a94d016c2fa388ecb79d56"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int SW2A311_Lib.ProjectCollection.Count</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_project_collection_8cs_source.html#l00019">19</a> of file <a class="el" href="_project_collection_8cs_source.html">ProjectCollection.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a18f7cdac958922dda5bcbf80351285e5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_w2_a311___lib_1_1_project_collection.html">ProjectCollection</a> SW2A311_Lib.ProjectCollection.Instance</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_project_collection_8cs_source.html#l00029">29</a> of file <a class="el" href="_project_collection_8cs_source.html">ProjectCollection.cs</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>SW2A311_Lib/<a class="el" href="_project_collection_8cs_source.html">ProjectCollection.cs</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespace_s_w2_a311___lib.html">SW2A311_Lib</a></li><li class="navelem"><a class="el" href="class_s_w2_a311___lib_1_1_project_collection.html">ProjectCollection</a></li>
    <li class="footer">Generated on Fri May 17 2013 11:47:23 for P2 Project - GanttMaker by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.3.1 </li>
  </ul>
</div>
</body>
</html>
